package com.sys.platform.entity;

import com.sys.platform.common.web.domain.DataBaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Transient;
import java.util.Date;

@Data
public class EntranceGuardAccessRecord extends DataBaseEntity {

    @ApiModelProperty("门禁id")
    private Long entranceGuardId;

    @ApiModelProperty("工号")
    private String employeeNo;

    @ApiModelProperty("图片")
    private String picUrl;

    @Transient
    private String name;

    @ApiModelProperty("用户名")
    @Transient
    private String userName;

    @ApiModelProperty("ip")
    @Transient
    private String ipAddress;

    @ApiModelProperty("端口")
    @Transient
    private Integer port;

    @ApiModelProperty("设备备注")
    @Transient
    private String remark;

    @Transient
    private String cameraCode;

    @Transient
    private Date startTime;

    @Transient
    private Date endTime;

}
